<?php
namespace app\common\model;

use think\Model;

/**
 * 报名模型
 * Class Signup
 * @package app\common\model
 */
class Signup extends Model {

    /**
     * 报名详情
     * @param $signup_id
     * @return Singuplist|null
     * @throws \think\exception\DbException
     */
    public static function detail($signup_id)
    {
        return self::get($signup_id);
    }

    public static function add($data){
        return self::insert($data);
    }
}